How can I know the max amount of indexes in Listview